const tipCode = {
    selectMainSdkType: [{ Id: -1, Name: "全部类型" }, { Id: 1, Name: "动态/自有广告" }, { Id: 2, Name: "广告激活" }, { Id: 3, Name: "无感广告" }, { Id: 4, Name: "拉活" }],
    //主体有效请求安装结果
    mainInstallCode :[
        {"value":-1,"label":"全部结果"},
        {"value":0,"label":"未上报"},
        {"value":400,"label":"安装失败",
            "children":[
                {"value":100,"label":"MD5不匹配，文件下载不完整"},
                {"value":101,"label":"解密文件失败"},
                {"value":102,"label":"下载文件失败"},

            ]
        },
        {"value":200,"label":"启动失败",
            "children":[
                {"value":201,"label":"找不到类"},
                {"value":202,"label":"找不到方法"},
                {"value":203,"label":"启动插件异常"},
            ]
        },
        {"value":300,"label":"启动成功"},
    ],
    //主体无效请求原因
    mainInvaildCode:[
        {"value":-1,"label":"全部结果"},
        {"value":0,"label":"无配置下发"},
        {"value":1000,"label":"网络错误"},
        {"value":1001,"label":"未找到渠道"},
        {"value":1002,"label":"渠道状态无效"},
        {"value":1003,"label":"规则过滤"},
        {"value":1006,"label":"频繁请求"},        
        {"value":1007,"label":"白名单"},
        {"value":1012,"label":"未到首次下载时间"},
    ],

    mainPlugStartCode:[
        {"value":-1,"label":"全部结果"},
        {"value":200,"label":"启动失败",
            "children":[
                {"value":201,"label":"找不到类"},
                {"value":202,"label":"找不到方法"},
                {"value":203,"label":"启动插件异常"},
            ]
        },
        {"value":300,"label":"启动成功"},
    ],

    cnPlugInstallCode :[
        {"value":-1,"label":"全部结果"},
        {"value":0,"label":"未上报"},
        {"value":100,"label":"安装失败",
            "children":[
                {"value":101,"label":"下载失败"},
                {"value":102,"label":"写文件失败"},
                {"value":103,"label":"下载服务器错误"},
                {"value":104,"label":"文件MD5错误"},
                {"value":105,"label":"文件解密失败"},
                {"value":106,"label":"安装异常"},

            ]
        },
        {"value":200,"label":"启动失败",
            "children":[
                {"value":201,"label":"启动类名错误"},
                {"value":202,"label":"启动方式名错误"},
                {"value":203,"label":"启动异常"},
            ]
        },
        {"value":300,"label":"启动成功"},
    ],
    //插件无效请求原因
    cnPlugInvaildCode:[
        {"value":-1,"label":"全部结果"},
        {"value":0,"label":"无配置下发"},
        {"value":1000,"label":"网络错误"},
        {"value":1001,"label":"未找到渠道"},
        {"value":1002,"label":"渠道状态无效"},
        {"value":1003,"label":"规则过滤"},
        {"value":1006,"label":"频繁请求"},
        {"value":1007,"label":"白名单"},
        {"value":1012,"label":"未到首次下载时间"},
    ],

    cnPlugPlugStartCode:[
        {"value":-1,"label":"全部结果"},
        {"value":200,"label":"启动失败",
            "children":[
                {"value":201,"label":"启动类名错误"},
                {"value":202,"label":"启动方式名错误"},
                {"value":203,"label":"启动异常"},
            ]
        },
        {"value":300,"label":"启动成功"},
    ],

    dyPlugStartCode:[
        {"value":-1,"label":"全部结果"},
        {"value":1,"label":"成功"},
        {"value":99,"label":"失败",
            "children":[{"value":2,"label":"启动异常"},{"value":3,"label":"启动类名错误"},{"value":4,"label":"启动方法名错误"}]
        },
    ],
    cnDownStatusList:[
        {"value":-1,"label":"全部结果"},
        {"value":0,"label":"已下发"},
        {"value":99,"label":"未下发",
            "children":[
                {"value":1000,"label":"网络错误"},
                {"value":1001,"label":"未找到渠道"},
                {"value":1002,"label":"渠道状态无效"},
                {"value":1003,"label":"规则过滤"},
                {"value":1006,"label":"频繁请求"},
                {"value":1007,"label":"白名单"},
                {"value":1012,"label":"未到首次下载时间"},
            ]
        },
    ],
    cnTacticsRequest:[
        {"value":-1,"label":"全部状态"},
        {"value":0,"label":"执行"},
        {"value":99,"label":"不执行",
            "children":[
                {"value":1000,"label":"网络错误"},
                {"value":1001,"label":"未找到渠道"},
                {"value":1002,"label":"策略不执行"},
                {"value":1003,"label":"规则过滤"},
                {"value":1006,"label":"频繁请求"},
                {"value":1007,"label":"白名单"},
                {"value":1014,"label":"暗屏限制"},
                {"value":1015,"label":"IMSI概率限制"},
                {"value":1016,"label":"日限限制"},
                {"value":1017,"label":"月限限制"},
            ],
        },
    ],
    cnTacticsResult:[
        {"value":-1,"label":"全部激活状态"},
        {"value":11,"label":"成功",
            "children":[
                {"value":1,"label":"成功"},
                {"value":2,"label":"old_push"},
                {"value":3,"label":"old_exists"}
            ]
        },
        {"value":20,"label":"失败",
            "children":[
                {"value":4,"label":"run_core_failed"},
                {"value":5,"label":"forbid_failed"},
                {"value":6,"label":"get_jar_failed"},
                {"value":7,"label":"down_jar_failed"},
                {"value":8,"label":"run_jar_failed"},
                {"value":9,"label":"failed"},
                {"value":10,"label":"built_in_user"},
            ]
        }
    ],
    cnTacticsPushStatus:[
        {"value":-1,"label":"全部状态"},
        {"value":1,"label":"成功"},
        {"value":2,"label":"成功-老版本"},
        {"value":3,"label":"指令无效"},
        {"value":4,"label":"下载失败"},
        {"value":5,"label":"无配置"},
        {"value":0,"label":"失败"},
    ],
    cnAppInstallStatus:[
        {"value":-1,"label":"安装结果"},
        {"value":0,"label":"未上报"},
        {"value":1,"label":"成功"},
        {"value":99,"label":"失败",
            "children":[
                {"value":20,"label":"安装失败"},
                {"value":21,"label":"下载地址为空"},
                {"value":22,"label":"文件下载失败"},
                {"value":23,"label":"写文件失败"},
                {"value":24,"label":"文件解密失败"},
                {"value":25,"label":"APP已存在"},
                {"value":26,"label":"下载服务器回应错误"},
                {"value":27,"label":"获取apk包名失败"},
                {"value":28,"label":"下载-DNS解析失败"},
                {"value":29,"label":"下载-获取IP地址信息错误"},
                {"value":30,"label":"下载-创建Socket失败"},
                {"value":31,"label":"下载-连接Socket失败"},
                {"value":32,"label":"下载-发送头信息小于零"},
                {"value":33,"label":"下载-发送头信息等于零"},
                {"value":34,"label":"下载-返回头信息小于等于零"},
                {"value":35,"label":"下载-创建文件夹失败"},
                {"value":36,"label":"下载-下载文件不完整"},
                {"value":37,"label":"下载-获取文件大小错误"},
                {"value":38,"label":"下载-下载文件大小不一致"},
                {"value":40,"label":"SDCARD空间不足"}
            ]
        },
    ],
    //主体无效请求原因
    cnAppInvaildCode:[
        {"value":-1,"label":"全部结果"},
        {"value":0,"label":"无应用下发"},
        {"value":1000,"label":"网络错误"},
        {"value":1001,"label":"未找到渠道"},
        {"value":1002,"label":"渠道状态无效"},
        {"value":1003,"label":"规则过滤"},
        {"value":2006,"label":"频繁请求"},
        {"value":1007,"label":"白名单"},
        {"value":1012,"label":"未到首次下载时间"},
    ],
}
export default tipCode;